package com.app.mapper;

import com.app.model.AreaModel;
import com.app.model.PayModel;
import com.app.vo.AreaVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 行政区域县区信息表 Mapper 接口
 * </p>
 *
 * @author 16693103420
 * @since 2024-01-22
 */
@Mapper
public interface PayMapper extends BaseMapper<PayModel> {

    List<PayModel> getVipList(@Param("page")Integer page ,@Param("limit")Integer limit,@Param("keyword") String keyword,
                              @Param("startTime") String startTime,@Param("endTime") String endTime, @Param("areaId") String areaId, @Param("cityId") String cityId);
    Integer getVipCount(@Param("keyword") String keyword,@Param("startTime") String startTime,@Param("endTime") String endTime);

    IPage<PayModel> getVipListByPage(Page page,
                                     @Param("startTime") String startTime,@Param("endTime") String endTime, @Param("areaId") Integer areaId, @Param("cityId") Integer cityId);
}
